package cn.wp.ewallet.wallet.model.entity;

import cn.wp.common.core.dao.annotation.Column;
import cn.wp.common.core.dao.annotation.Table;
import lombok.Data;

import java.io.Serializable;

/**
 * 钱包-Do实体
 * Created by zhangyongli on 2020/01/08
 */
@Data
@Table(value = "WALLET_INFO",keys = {"wallet_address"})
public class WalletInfoDo implements Serializable {
    
    /** 钱包在区块链上地址  */
    @Column("wallet_address")
    private String walletAddress;

    /** 钱包名称，可以为以太坊钱包，比特币钱包等  */
    @Column("wallet_name")
    private String walletName;

    /** 1000-私户
            2000-公户  */
    @Column("wallet_type")
    private String walletType;

    /** 钱包私钥  */
    @Column("secret_key")
    private String secretKey;

    /** 钱包keystore  */
    @Column("key_store")
    private String keyStore;

    /** 交易密码  */
    @Column("trans_pwd")
    private String transPwd;
    
}